package com.staff.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import com.common.util.AJAXResultMessage;
import com.staff.entity.StaffReward;
import com.staff.entity.dto.StaffRewardQueryDTO;


public interface IStaffRewardService {
	public AJAXResultMessage saveOrUpdate(StaffReward staffReward);
	public AJAXResultMessage saveOrUpdate(StaffRewardQueryDTO staffRewardQueryDTO);
	
	public void delete(StaffReward staffReward);
	public StaffReward findOne(Long id);
	public List<StaffReward> findAll();
	public void delete(List<Long>ids);
	//动态条件查询
	public Page<StaffRewardQueryDTO> findAll(Specification<StaffReward> spec, Pageable pageable);	
}
